﻿using System;
using System.Collections.Generic;

namespace Trentacular.SharePoint.Deployment.Model
{
    public class Site : BaseFeatureContainer<SiteFeature, Site>
    {
        public virtual WebApplication WebApplication { get; set; }

        public virtual string Url { get; set; }

        public virtual IList<Web> Webs { get; set; }

        public override IList<SiteFeature> Features { get; set; }

        public override string DisplayName
        {
            get
            {
                return base.Name;
            }
            set
            {
                throw new NotSupportedException();
            }
        }
    }
}
